﻿#ifndef POSTCOMMAND_CMDTHREEDCLOUDMAPSIDEBARUPDATEORIGINALDATASOURCE_H
#define POSTCOMMAND_CMDTHREEDCLOUDMAPSIDEBARUPDATEORIGINALDATASOURCE_H

#include <QList>
#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdThreeDCloudMapSidebarUpdateOriginalDataSource : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdThreeDCloudMapSidebarUpdateOriginalDataSource();
        ~CmdThreeDCloudMapSidebarUpdateOriginalDataSource();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setThreeDCloudMapSidebarOriginalDataSource(int windowId, int index, int showType, int fixedValueIndex, bool isLog, bool isNormalize);

    private:
        int m_windowId;
        int m_index;
        int m_showType;
        int m_fixedValueIndex;
        bool m_isLog;
        bool m_isNormalize;
    };
} // namespace PostCommand

#endif
